<template>
    <div class="tab">
      <el-radio-group v-model="currentStrategy" @change="handleChangeStrategy" style="display: flex;flex-direction: column;position: relative;height: 400px;">
        <div style="display: flex;padding: 40px;">

    
        <el-radio label='1' size="large" border>入库策略采用先进先出</el-radio>
      </div>
      <div  style="display: flex;padding: 40px;">


        <el-radio label='2' size="large" border>入库策略采用先进后出</el-radio>
      </div>
      </el-radio-group>
      <el-button type="success" size="large" style="position: absolute;bottom: 20px;right: 80px;">确认</el-button>
    </div>
  </template>

  <script lang="ts" setup>
    import { ref } from 'vue'
 //定义当前策略变量
    const currentStrategy = ref('1')
    
 const handleChangeStrategy=(e)=>{
console.log(e);
 }
    </script>
    <style>
    
    </style>